package ${package};

import cn.angis.${module}.dto.input.${className}Input;
import cn.angis.${module}.dto.output.${className}Output;
import cn.angis.${module}.model.${className};
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* ${comment}转换类
* @author angis.cn
* @Date ${date(),"yyyy-MM-dd"}
*/
@Mapper
public interface ${className}Struct {
    ${className}Struct INSTANCE = Mappers.getMapper(${className}Struct.class);
    ${className} to${className}(${className}Input ${lowerFirst(className)}Input);
    ${className}Output toOutput(${className} ${lowerFirst(className)});
    List<${className}Output> toOutputList(List<${className}> ${lowerFirst(className)}List);
}
